//
//  tagCell.m
//  AIM
//
//  Created by user10 on 2017/5/19.
//  Copyright © 2017年 user10. All rights reserved.
//

#import "tagCell.h"

@implementation tagCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

/** 自定义构造方法 */
+ (instancetype) cellWithTableView:(UITableView *) tableView {
    static NSString *ID = @"friendCell";
    tagCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    
    if (nil == cell) {
        cell = [[self alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:ID];
    }
    
    return cell;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

/** 加载数据 */
- (void)setTagData:(tag *)tagData{
    _tagData = tagData;
    self.textLabel.text = tagData.MSG_TAG_NM;
}

@end
